import request from '@/utils/request'

// 发送
export function sendEmail(data) {
  return request({
    url: '/message/email/config/sendEmail',
    method: 'post',
    data: data
  })
}
// 修改
export function update(data) {
  return request({
    url: '/message/email/config',
    method: 'put',
    data: data
  })
}

// 查询
export function get(params) {
  return request({
    url: '/message/email/config/'+params,
    method: 'get',
  })
}
